DataSource for Entity Framework in WPF
C1.LiveLinq.Indexing Namespace / ScannerCollection<T> Class / Contains Method / Contains<TKey>(Expression<Func<T,TKey>>) Method
The type of the index key.
Key selector expression of an index, see KeySelector.

In This Topic
    Contains<TKey>(Expression<Func<T,TKey>>) Method
    In This Topic
    Determines whether an index with the specified key selector exists in the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Contains(Of TKey)( _
       ByVal keySelector As Expression(Of Func(Of T,TKey)) _
    ) As Boolean
    public bool Contains<TKey>( 
       Expression<Func<T,TKey>> keySelector
    )

    Parameters

    keySelector
    Key selector expression of an index, see KeySelector.

    Type Parameters

    TKey
    The type of the index key.

    Return Value

    true if an index with the specified key selector is found in the collection; otherwise, false.
    See Also